<!DOCTYPE html>
<html id="replace-style" lang="zh" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <title>设备检修项目</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="icon" type="image/x-icon" href="/favicon.ico" th:href="@{/favicon.ico}">
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>

    <style>

    </style>
</head>
<body>
<!--头部-->
<header th:replace="common/head">
</header>
<!-- 页面指向 -->
<div class="page-point bg-white">
    <ul>
        <li>首页</li>
        <li>设备保养管理</li>
        <li>设备检修项目</li>
    </ul>
</div>
<!-- 菜单树 -->
<div th:replace="common/left">
</div>
<!--主体内容-->
<div class="page-container">

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12">
            <h2 class="page-section-title">查询条件</h2>
        </div>
    </div>

    <div class="container-fluid query-frame-wrap mb-10 clearfix condition-query">
        <div class="col-lg-9 col-lg-item-6">
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>设备编号</label>
                        <select id="equipCodeQuerySelect2" name="equipCode" class="form-control repair-manage-query">
                        </select>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>设备名称</label>
                        <input id="equipName" type="text" class="form-control repair-manage-query" maxlength="20"/>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>责任部门</label>
                        <input id="department" type="text" class="form-control repair-manage-query" maxlength="20"/>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame date-frame">
                        <label>开始时间</label>
                        <input type="text"  class="form-control form-datetime form-datetime-start repair-manage-query form_datetimeStart" readonly="readonly"  />
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame date-frame">
                        <label>结束时间</label>
                        <input type="text"  class="form-control form-datetime form-datetime-end repair-manage-query form_datetimeEnd"  readonly="readonly" />
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>快捷时间</label>
                        <select id="shortcutTime" class="form-control repair-manage-query" name="shortcutTime">
                            <option value="">快捷时间</option>
                            <option value="1">昨天</option>
                            <option value="2">上周</option>
                            <option value="3">上月</option>
                            <option value="4">上季度</option>
                            <option value="5">上半年</option>
                            <option value="6">去年</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>检修项目</label>
                        <input id="maintenanceProject" type="text" class="form-control repair-manage-query" maxlength="20"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-3">
            <div class="query-frame query-button">
                <img id="queryButton" th:src="@{/image/search.png}"/>
                <img class="reset" th:src="@{/image/rest.png}"/>
            </div>
        </div>
    </div>

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12 rlt">
            <h2 class="page-section-title">检修项目列表</h2>
            <ul class="table-tool">
                <li id="add" shiro:hasPermission="app.equipment.repairManage.saveOrUpdateRepairManage.save.mvc">
                    <span class="icon-list_add" aria-hidden="true"></span>
                    <label>新增</label>
                </li>
                <li id="update" shiro:hasPermission="app.equipment.repairManage.saveOrUpdateRepairManage.save.mvc">
                    <span class="icon-list_xiugai" aria-hidden="true"></span>
                    <label>修改</label>
                </li>
                <li id="delete" shiro:hasPermission="app.equipment.repairManage.logicDeleteRepairManageByPkIds.del.mvc">
                    <span class="icon-list_shanchu" aria-hidden="true"></span>
                    <label>删除</label>
                </li>
                <li id="refreshTable">
                    <span class="icon-list_shuaxin" aria-hidden="true"></span>
                    <label>刷新</label>
                </li>
            </ul>
        </div>
    </div>

    <div class="container-fluid table-container table-responsive">
        <table id="repairManageTable" cellspacing="" cellpadding="" data-show-columns="true" >

        </table>
    </div>
</div>

<form id="repairManageForm" method="post" class="form-horizontal repair-manage-form" action="">
    <div class="modal fade modelForm" id="myModal" tabindex="-1" role="dialog" data-backdrop="static"
         data-keyboard="false">
        <div class="modal-dialog modal-dialog-big-2" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title title"></h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-4">设备编号</label>
                                    <div class="col-lg-8">
                                        <select id="equipCode" name="equipCode" class="form-control equip-code" >
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-2">厂区</label>
                                    <div class="col-lg-8">
                                        <input type="text" name="factoryName" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-2">车间</label>
                                    <div class="col-lg-8">
                                        <input type="text" name="shopName" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-4">检修项目</label>
                                    <div class="col-lg-8">
                                        <input type="text" name="maintenanceProject" class="form-control" maxlength="40"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">责任部门</label>
                                    <div class="col-lg-8">
                                        <input type="text" name="dutyDepartment" class="form-control" maxlength="40"/>
                                    </div>
                                </div>
                                <div class="form-group" style="height: 40px;">
                                    <label class="col-lg-4 control-label">停机</label>
                                    <div class="col-lg-8">
                                        <input type="checkbox" name="shutdownFlag" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-4">检修开始</label>
                                    <div class="col-lg-8 date-frame">
                                        <input class="form-control form-datetime " readonly="readonly" type="text" name="maintenanceStartDate"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">原因分析</label>
                                    <div class="col-lg-8">
                                        <textarea  class="form-control" name="reason" maxlength="40"></textarea>
                                    </div>
                                </div>

                            </div>

                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">设备名称</label>
                                    <div class="col-lg-8">
                                        <input type="text" class="form-control" name="equipName" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">产线</label>
                                    <div class="col-lg-8">
                                        <input type="text" class="form-control" name="lineName" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">区域</label>
                                    <div class="col-lg-8">
                                        <input type="text" name="areaName" class="form-control" readonly/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-4">检修类别</label>
                                    <div class="col-lg-8">
                                        <select name="maintenanceCategory" class="form-control maintenance-category" >
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-3">责任人</label>
                                    <div class="col-lg-8">
                                        <select  name="dutyUser" class="form-control user-select2" id="dutyUserFormSelect2">
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-2">人员</label>
                                    <div class="col-lg-8">
                                        <select  name="dutyUser" class="form-control user-select2" id="repairUserFormSelect2" multiple>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label form-required form-required-4">检修结束</label>
                                    <div class="col-lg-8 date-frame">
                                        <input type="text" class="form-control form-datetime" readonly="readonly" name="maintenanceEndDate"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-lg-4 control-label">检修措施</label>
                                    <div class="col-lg-8">
                                        <textarea  class="form-control" name="method" maxlength="40"></textarea>
                                    </div>
                                </div>


                            </div>

                        </div>

                    </div>
                    <!--主键-->
                    <input type="hidden" name="pkId" value="">

                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-primary yes">保存</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>



<div th:replace="common/foot">
</div>

<script th:src="@{/js/lifeCycle/equipLifeCycle/maintain/repairManage.js}"></script>
</body>
</html>






